<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" slick-uniqueid="1">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Shop It | Home Page</title>
	<link rel="stylesheet" type="text/css" href="../css/style.css">
	<script src="../scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="../scripts/easySlider.js" type="text/javascript" ></script>
	<script>
		//setTimeout(function(){window.location = "../";},3000););
	</script>
</head>
<body>
<div id="content">

	<div id="header">
		<div class="w960 mha">
			<div id="logo">
				<div class="fl">
					<a href="../" class="poa ti9">Shop It</a>
					<a href="../"><img src="../images/logo.png" /></a>
				</div>
				<div class="ffi fs10 pl5 fl">
					<p>Start advertising! <a href="#">Login</a> or <a href="#">Register</a></p>
					<img src="../images/fb-like.png" />
				</div>
			</div>
			<div class="headerLinks fr">
				<ul>
					<li><a href="#">Register</a></li>
					<li><a href="#">Login</a></li>
				</ul>
			</div>
		</div>
		<div class="clear"></div>
		<div id="navbar" class="">
			<div class="w960 mha ofh">
				<ul class="">
					<li><a href="../">Home</a></li>
					<li><a href="../shop.html">Shop by category</a></li>
					<li><a href="#">sales</a></li>
					<li><a href="../spree.html">spree</a></li>
					<li class="active"><a href="../advertise.html">advertise</a></li>
					<li><a href="../contact-us.html">Contact Us</a></li>
					<li><a href="#">news</a></li>
				</ul>
			
				<div class="search fr">
					<form id="searchForm" method="post" action="">
						<input type="text" name="txtSearch" id="search" />
						<input type="submit" id="btnSearch" value="" />
					</form>
				</div>
			</div>
		</div>
	</div>
	
	<div id="wrapper" class="mha">
		<div id="top">
			<div class="banner">
				<img src="../images/banner.jpg" />
			</div>
			
		</div>
		
		<div class="clear"></div>
		
		<div class="main-content">
			
			<div class="ofh">
				<?php

				/* All form fields are automatically passed to the PHP script through the array $HTTP_POST_VARS. */
				$email = "info@shopit.com.sg";
				$subject = "You have got a contact from ShopIt";
				$name= $_POST["txtText"];
				$phone= $_POST["txtContact"];
				$mail= $_POST["txtEmail"];
				$message= $_POST["txtMessage"];
				$from = "From: ".$mail;
				
				$message = "Name: ".$name."\nContact No: ".$phone."\nEmail Address: ".$mail."\n\n: ".$message;
				
				if(mail($email,$subject,$message,$from)){
				?>
					<p class="fs30 cf6 ffv ttu tac bd2B">Thank you for your enquiry. <br /> A member of staff will contact you shortly.</p><br /><br />
				<?php} else{?>
					<p class="fs30 cf6 ffv ttu tac bd2B">Please, wait a minute and fill the form again!</p><br /><br />
				<?php}?>
					
				
			</div>
		</div>
	</div>
	
	<div class="clear"></div>
	<div id="footer" class="">
		<div class="ftcontent w960 mha tac ofh">
			<ul class="">
				<li><a href="advertise.html">ADVERTISE</a></li>
				<li><a href="#">About Us</a></li>
				<li><a href="#">FAQ</a></li>
				<li><a href="contact-us.html">Contact Us</a></li>
			</ul>
			<div class="ttu">
				blogstyle.com.sg is a Singapore online fashion directory that works like online Catalogue / Magazine.
				We only publish latest promotions, announce new blog shops launches and trend happenings in Blog Shops and Online Shops in Singapore
			</div>
			<div class="ft-seo"><a href="http://www.top3.com.sg/">SEO</a> - <a href="http://web-designer.com.sg/">Web Designer by Web-designer.com.sg</a></div>
		</div>
	</div>
</div>
</body>
</html>